export interface ListParams {
  page?: number;
  pageSize?: number;
  name: string;
  beginDate: string;
  endDate: string;
  begId?: number;
  addTime?: string;
  staffId?: number;
}

export interface ListData {
  id: number;
  companyId: number;
  elderlyId: number;
  addTime: string;
  addAccountId: number;
  spirit: string;
  diet: string;
  sleep: string;
  shit: string;
  urinate: string;
  communicate: string;
  memory: string;
  temperature: string;
  pulse: string;
  breathe: string;
  blood: string;
  description: string;
  suggest: string;
  begId: number;
  begName: string | null;
  idCard: string;
  addAccountName: string;
  addAccountPhoto: string | null;
  elderlyName: string;
  elderlyPhoto: string;
  elderlyGender: string;
  elderlyIdCard: string;
  houseName: string | null;
  buildingName: string;
  staffId: number;
  staffName: null | string;
  staffPhoto: null | string;
}

export interface ListResult {
  counts: number;
  pageSize: number;
  list: ListData[];
}

export interface AddParams {
  //可选修改参数
  id?: number;
  companyId?: number;
  elderlyId: number;
  addTime?: string;
  addAccountId?: number;
  staffId: number;
  spirit: string;
  diet: string;
  sleep: string;
  shit: string;
  urinate: string;
  communicate: string;
  memory: string;
  temperature: string;
  pulse: string;
  breathe: string;
  blood: string;
  description: string;
  suggest: string;
  begId?: number;
  begName?: string;
  idCard?: string;
  addAccountName?: string;
  addAccountPhoto?: string | null;
  elderlyName?: string;
  elderlyPhoto?: string;
  elderlyGender?: string;
  elderlyIdCard?: string;
  houseName?: string | null;
  buildingName?: string;
  staffName?: null | string;
  staffPhoto?: null | string;
}
